#include"lottery_sys.h"
/*
   该函数用于：对链表的显示输出到屏幕
   无返回值
   参数：用户链表头结点
 */
void show_user_list(Buyer_t* user_head)
{
	if(!user_head)
	{
		return;
	}
	Buyer_t* tmp = NULL;
	tmp = user_head -> next;
	while(tmp != NULL)
	{
		printf("%d\t",tmp -> ID);
		printf("%s\t",tmp -> B_name);
		printf("%s\t",tmp -> B_passwd);
		printf("%f\n",tmp -> B_remain_money);
		tmp = tmp -> next;
	}
}
